package com.disk.service;

import com.disk.entity.dto.SessionWebUserDto;
import com.disk.entity.po.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;

/**
 * <p>
 * 用户信息 服务类
 * </p>
 *
 * @author zsy
 * @since 2024-08-06
 */
public interface UserInfoService extends IService<UserInfo> {

    void register(String email, String nickname, String password, String emailCode);

    SessionWebUserDto login(String email, String password);

    void resetPwd(String email, String password, String emailCode);
}
